<?php
class WebCommentModel extends Model {
	var $_table = 'web_comment';
	
	var $comment_id_nak; // INT UNSIGNED NOT NULL AUTO_INCREMENT,
	var $deleted_nr = 0; // 是否删除
	var $reply_id_nr = 0; // INT UNSIGNED NOT NULL,
	var $reply_author_s = '';//
	var $page_id_nr; // INT UNSIGNED NOT NULL COMMENT '页面ID',
	var $create_uid_nr = 0; // INT UNSIGNED NOT NULL DEFAULT 0 COMMENT '创建用户ID',
	var $create_time_T; // INT UNSIGNED NOT NULL DEFAULT 0 COMMENT '创建时间',
	var $status_sr = 'new'; // ENUM('new', 'pass','unpass', 'spam','deleted') NOT NULL DEFAULT 'new' COMMENT '状态',
	var $approved_uid_nr = 0; // INT UNSIGNED NOT NULL DEFAULT 0 COMMENT '审核用户',
	var $approved_time_nr = 0; // INT UNSIGNED NOT NULL DEFAULT 0 COMMENT '审核时间',
	var $source_ip_sr; // VARCHAR(15) NOT NULL COMMENT '作者的IP',
	var $author_sr; // VARCHAR(32) NULL COMMENT '评论作者',
	var $url_s; // VARCHAR(128) NULL COMMENT '作者的URL',
	var $email_s; // VARCHAR(128) NULL COMMENT '作者的邮箱',
	var $subject_s=''; // VARCHAR(128) NOT NULL COMMENT '评论主题',
	var $comment_s; // TEXT NULL COMMENT '评论内容',
}